package com.jkl.dao.param;

import com.jkl.entity.param.ParamKey;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author liuzhennan
 * @create 2021-01-25 9:50
 */
public interface ParamKeyMapper extends Mapper<ParamKey> {
    ParamKey selectBySystemType();

    ParamKey selectBySystemName();

    ParamKey selectBySystemImg(@Param("keyName") String keyName);

    ParamKey selectByDeptRoot();

    ParamKey selectByStoreType();

    ParamKey selectMap();

    // 通过key_code查找不同系统的需要用到的值
    List<ParamKey> getParamKeyByKeyCode(String keyCode);
}
